﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using JHT.ABPLearn.Tasks.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JHT.ABPLearn.Tasks
{
    public interface IAbpTaskAppService : IApplicationService
    {
        GetTasksOutput GetTasks(GetTasksInput inputDto);
        void UpdateTask(UpdateTaskInputDto input);

        int CreateTask(CreateTaskInput input);

        Task<TaskDto> GetTaskByIdAsync(int taskId);

        TaskDto GetTaskById(int taskId);

        void DeleteTask(int taskId);

        IList<TaskDto> GetAllTasks();

        PagedResultDto<TaskDto> GetPagedTask(GetTasksInput tasksInput);

    }
}
